@import './variable.less';
@import './mixin.less';

#app {
  height: 100vh;
  font-family: 'Web_Regular';
}

.gp__page-width {
  width: 90%;
  margin: 0 auto;
}
.gp__tblr-center {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto !important;
}
.gp__vertical-center {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
.gp__hv-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.gp__flex-center {
  .flex();
}
.gp__flex-start {
  .flex(flex-start);
}
.gp__flex-between {
  .flex(space-between);
}
.gp__flex-column {
  .flex(_, _, _, column);
}
.gp__grid-half {
  .grid(2);
}
.gp__grid-three {
  .grid(3);
}
.gp__grid-four {
  .grid(4);
}
.gp__second-btn {
  color: #0054B0;
  border-color: #0054B0;
  &:hover {
    opacity: 0.8;
  }
}
.gp__plain-btn {
  &:hover {
    color: #000 !important;
    border-color: #d9d9d9 !important;
    opacity: 0.8;
  }
}
.gp__table-search-wrapper {
  padding: 20px 20px 0;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
  .ant-form-item {
    margin-bottom: 20px;
  }
}

// transtion动画
.fade-transform-enter-active,
.fade-transform-leave-active {
  transition: all .3s;
}
.fade-transform-enter {
  opacity: 0;
  transform: translateX(-20px);
}
.fade-transform-leave-to {
  opacity: 0;
  transform: translateX(20px);
}

.slide-enter-active, .slide-leave-active {
  transition: all 0.3s
}
.slide-enter-from, .slide-leave-to {
  transform: translate3d(100%, 0, 0)
}

// 隐藏IE自带的表单符号
::-ms-clear,::-ms-reveal{
  display:none;
}

// 美化scrollbar
::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 0;
}
::-webkit-scrollbar {
  -webkit-appearance: none;
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-thumb {
  cursor: pointer;
  border-radius: 5px;
  background: rgba(0, 0, 0, 0.15);
  transition: color 0.2s ease;
}
